package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.AlgorithmEventResult;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 算法查询接口参数
 *
 * @author pengxin
 * @date 2022-10-08 14:49
 */
@Data
public class AlgorithmEventsParam extends BasePageParam {

    /**
     * 条件
     */
    private AlgorithmEventCondition condition;

    @Getter
    @Setter
    public static class AlgorithmEventCondition implements Serializable {

        private static final long serialVersionUID = -1826843322059852209L;
        /**
         * 算法启停情况。1：启用 0：停用
         */
        private Integer algorithmEnable;

        /**
         * 算法id
         */
        private String algorithmId;
    }

    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return AlgorithmEventResult.class;
    }
}
